package com.zxs.admin.controller;

import com.zxs.admin.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import parm.PageParam;

/**
 * @author zxs
 * *9 20:56
 */
@RestController
@RequestMapping("order")
public class OrderController {
    @Autowired
    private OrderService orderService;

    @GetMapping("list")
    public Object list(PageParam pageParam) {

        return orderService.list(pageParam);
    }
}
